package com.cloudkinto.service.order.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class FeedUploadResultBean {

    @JsonProperty("DocumentTransactionID")
    private String documentTransactionID;
    @JsonProperty("StatusCode")
    private String statusCode;
    @JsonProperty("ProcessingSummary")
    private List<ProcessingSummaryDTO> processingSummary;

    @NoArgsConstructor
    @Data
    public static class ProcessingSummaryDTO {
        @JsonProperty("MessagesWithError")
        private String messagesWithError;
        @JsonProperty("MessagesProcessed")
        private String messagesProcessed;
        @JsonProperty("MessagesSuccessful")
        private String messagesSuccessful;
        @JsonProperty("MessagesWithWarning")
        private String messagesWithWarning;
    }
}
